package io.renren.modules.demo.dao;

import io.renren.common.dao.BaseDao;
import io.renren.modules.demo.entity.DhGodsrentInfoEntity;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2023-03-25
 */
@Mapper
public interface DhGodsrentInfoDao extends BaseDao<DhGodsrentInfoEntity> {
    /**
     * 归还当前租用物品
     * @param godsId
     * @param userId
     * @param startTime
     * @param endTime
     */
    void repay(Integer godsId, Integer userId, String startTime, String endTime);

}